//
//  YTileLayer.h
//  yuimall_Iphone
//
//  Created by Gang.Wang on 12-4-26.
//  Copyright (c) 2012年 yuike. All rights reserved.
//

#import <QuartzCore/QuartzCore.h>
#import "CALayerEx.h"
#define _YTILELAYER_NAME_           @"YTileLayer"

@interface YTileLayer : CALayerEx
{
    int tileIndex;
    NSString * tileName;
    
    CALayerEx * closeLayer;
    CALayerEx * titleLayer;
    
    CALayerEx * contentLayer;
    
    BOOL editStatus;
}

@property (nonatomic, assign) int tileIndex;

@property (nonatomic, strong) NSString * tileName;

@property (nonatomic, assign) BOOL editStatus;



- (void)draw;

- (void)appearDraggable;

- (void)appearNormal;

- (void)startWiggling;

- (void)stopWiggling;

@end
